package de.uni.muenster.idw2.data;

public class ImagePosition {

	private float relX, relY;
	private String nodeID;

	public ImagePosition(float x, float y) {
		this.relX = x;
		this.relY = y;
	}

	/**
	 * @return the relX
	 */
	public float getRelX() {
		return relX;
	}

	/**
	 * @param relX
	 *            the relX to set
	 */
	public void setRelX(float relX) {
		this.relX = relX;
	}

	/**
	 * @return the relY
	 */
	public float getRelY() {
		return relY;
	}

	/**
	 * @param relY
	 *            the relY to set
	 */
	public void setRelY(float relY) {
		this.relY = relY;
	}

	/**
	 * @param nodeID
	 *            the nodeID to set
	 */
	public void setNodeID(String nodeID) {
		this.nodeID = nodeID;
	}

	/**
	 * @return the nodeID
	 */
	public String getNodeID() {
		return nodeID;
	}

	public String toString() {
		return "(" + relX + ";" + relY + ")";
	}

}
